//
//  GameMovingObject.h
//  HelloWorldGame
//
//  Created by huji on 13-2-3.
//
//

#import "GameObject.h"

@class CCSprite;

#define MovingObject_Action_Move 0

@interface GameMovingObject : GameObject

@property (nonatomic,assign) float speed;
@property (nonatomic,assign) CGPoint direction;
@property (nonatomic,assign) float life;

+(id)objectWithImage:(NSString*)imageName row:(int)row column:(int)column size:(CGSize)size;
-(id)initWithImage:(NSString*)imageName row:(int)row column:(int)column size:(CGSize)size;

-(void)sendAction:(int)actiontype object:(id)obj;

-(CCSprite*)sprite;

@end
